How to fix this error AttributeError: 'NoneType' object has no attribute 'extraBottles'